Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

Agent Deletion by C API
~Kirk Refreester 01/22/2004 11:30 AM
Toolkits All Releases Windows 2000


I am attaching a notification (new mail) java agent through C API. The agent is working as expected.

However there is a problem when I delete the agent using the following api:
NSFNoteDelete(hDb, agentId, UPDATE_FORCE)

The agent gets deleted from the user's database (verified by notesclient). However the command "tell amgr schedule" in the domino server still lists this agent. Also, in the domino log file there are many null pointer exceptions.

Is this the correct way of deleting an agent ? What can I do so that the agent is completely removed and the server and the domino log is clean ?

thanks in advance,

Go back